<template>
    <div>
        <mt-header :title="msg.pname">
    <router-link to="/" slot="left">
    <mt-button icon="back">返回</mt-button>
    </router-link>
    <mt-button icon="more" slot="right"></mt-button>
    </mt-header>
        <img :src="msg.avaUrl">
        <p>{{msg.phone}}</p>
        <p>{{msg.name}}</p>
    </div>
</template>
<script>
export default {
    name:"detial",
    data(){
        return{
            msg:"",
        }
    },
    mounted(){
         console.log(this.$route.query.sid);
         var v=this.$route.query.sid;
         var token = sessionStorage.getItem("token");
         this.msg=v;
         var str = `sid=${this.msg.id}&token=${token}`
        this.axios.post("/getCheckDetailById",str).then(res=>{
            console.log(res);
        })
    }
}

</script>
